package com.example.udpdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Spring Boot + UDP 演示应用程序
 * 
 * @author demo
 */
@SpringBootApplication
public class UDPDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(UDPDemoApplication.class, args);
        System.out.println("=== Spring Boot + UDP Demo 启动成功 ===");
        System.out.println("访问地址: http://localhost:8080");
        System.out.println("UDP服务器端口: 8888");
        System.out.println("测试接口: http://localhost:8080/api/udp/send");
        System.out.println("测试接口: http://localhost:8080/api/udp/status");
    }
} 